var express = require('express');
var router = express.Router();

router.use(function timeLog(req, resp, next){
    console.log(`Time: ${new Date}`);
    next();
})

router.get("/", function(req, resp){
    resp.send("Stu home page.");
});

router.get("/help", function(req, resp){
    resp.send("Stu help page");
});

module.exports = router;